Exports the entire file in text format.